#pragma once

#include "Common.h"
#include "Model.h"
#include "ModelMesh.h"
#include "Vertex.h"
#include "Vector3.h"
#include "TextureManager.h"

#define MODELMANAGER_DEFAULT_ROOTDIRECTORY	"Models/"

class ModelManager
{
private:
	ModelManager();
public:
	~ModelManager();
public:
	static ModelManager*	GetInstance();
public:
	Model*					Load(std::string path);
	void					LoadContent();
	void					Unload(Model* model);
	void					UnloadContent();
private:
	static ModelManager*	m_pInstance;
private:
	std::list<Model*>		m_pModels;
	String					m_sRootDirectory;
};